@extends('layouts.default')
@section('content')
    <form action="{{route('FindPasswordUpdate')}}" method="post">
        @csrf
        <input type="text" name="token" hidden value="{{$user['email_token']}}">
        <div class="card">
            <div class="card-header">重置密码</div>
            <div class="card-body">
                <div class="form-group">
                    <label for="">邮箱</label>
                    <input type="email" name="email" disabled value="{{$user['email']}}" class="form-control" placeholder="账户">
                    <small class="form-text text-muted">请输入注册时的邮箱</small>
                </div>
                <div class="form-group">
                    <label for="">密码</label>
                    <input type="password" name="password" class="form-control" placeholder="请输入新密码">
                </div>
                <div class="form-group">
                    <label for="">确认密码</label>
                    <input type="password" name="password_confirmation" class="form-control" placeholder="请再次输入密码">
                </div>
            </div>
            <div class="card-footer">
                <button type="submit" class="btn btn-success">更新密码</button>
            </div>
        </div>
    </form>
@stop
